﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace xxxy.Web.teamInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int teamID=(Convert.ToInt32(strid));
					ShowInfo(teamID);
				}
			}
		}
		
	private void ShowInfo(int teamID)
	{
		xxxy.BLL.teamInfo bll=new xxxy.BLL.teamInfo();
		xxxy.Model.teamInfo model=bll.GetModel(teamID);
		this.lblteamID.Text=model.teamID.ToString();
		this.lbltDataName.Text=model.tDataName;
		this.lbltHonorLevel.Text=model.tHonorLevel;
		this.lbltIssuingTime.Text=model.tIssuingTime.ToString();
		this.lbltUploadName.Text=model.tUploadName.ToString();
		this.lbltUploadTime.Text=model.tUploadTime.ToString();
		this.lbltDepartment.Text=model.tDepartment;
		this.lbltHsot.Text=model.tHsot;
		this.lbltParticipator.Text=model.tParticipator;
		this.lbltGrade.Text=model.tGrade;
		this.lbltAddress.Text=model.tAddress;
		this.lbltRemarks.Text=model.tRemarks;
		this.lbltAttachment.Text=model.tAttachment;
		this.lbltStation.Text=model.tStation.ToString();

	}


    }
}
